package com.dsunsoft.rtu.common.entity;

import com.dsunsoft.rtu.common.constant.CommonConstants;
import lombok.Data;

import java.io.Serializable;

/**
 * BaseQuery
 * 
 * @author ygm
 *
 */
@Data
public class BaseQuery implements Serializable {
	private static final long serialVersionUID = 2076784285585695156L;
	/**
	 * page size
	 */
	private Integer pageSize;
	/**
	 * Integer
	 */
	private Integer pageIndex;
	/**
	 * orderBy
	 */
	private String orderBy;

	public BaseQuery() {
		this.pageIndex = CommonConstants.PAGE_INDEX;
		this.pageSize = CommonConstants.PAGE_SIZE;
	}
}
